package com.kecheng.xinmei.service;

import com.kecheng.xinmei.entity.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author gaokecheng
 * @version 1.0
 * @date 2020/11/20 4:21 下午
 */
public interface AdminService {
    Boolean addDoctor( Doctor doctor);
    Boolean updateDoctor(Doctor doctor);
    Boolean addLunbo(Lunbo lunbo);
    Boolean deleteLunbo(Integer id);
    Boolean addTopic(Topic topic);
    Boolean updateTopic(Topic topic);
    Boolean addLife(Life life);
    Boolean updateLife(Life life);
    Boolean addPerson(Person person);
    Boolean deletePerson(Integer id);
    Boolean updateIntroduction(Introduction introduction);
    Boolean deleteIntroduction(Integer id);
    Boolean addNews(News news);
    Boolean deleteNews(Integer id);
    Boolean addResult(Result result);
    Boolean deleteResult(Integer id);
}
